<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript">
  HMSBusiness.startup({
	    title:'运行中任务管理',
	    structure:"TaskCol",
		service:"runningTask",
		filter_data:"TaskFil",
		pk:"runningTask",
		query:{taskId:"*"},
		grid_buttons:["NULL"<sec:authorize access="hasRole('TASK_PAUSE')">,"PAUSE_TASK"</sec:authorize><sec:authorize access="hasRole('TASK_RESTART')">,"RESUME_TASK"</sec:authorize><sec:authorize access="hasRole('TASK_STOP')">,"KILL_TASK"</sec:authorize>],
		filter_buttons:['FIND']
	  });
</script>
<div id="runningTask"></div>
